package com.ruoyi.process.task;

import com.ruoyi.process.mapper.ArgoRemindMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("remind")
public class remindTask {

    @Autowired
    private ArgoRemindMapper remindMapper;

    /** 更新提醒次数*/
    public void addRemindTime(){
        System.out.println("增加提醒次数");
        remindMapper.addRemindState();
    }

    /** 提醒任务逾期*/
    public void remindOverdue(){
        System.out.println("提醒任务逾期");
        remindMapper.remindOverdue();
    }

}
